﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="baseSetting.aspx.cs" Inherits="MxWeiXinPF.Web.admin.weixin.baseSetting" %>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <title>编辑微信公众号</title>
 <%=PageJSAndStype("edit").ToString() %>
    <script type="text/javascript">
        $(function () {
            //初始化表单验证
            $("#form1").initValidform();
           
             
            $(".upload-attach").InitUploader({ filesize: "<%=siteConfig.imgsize %>", sendurl: "../../tools/upload_ajax.ashx", swf: "../../scripts/webuploader/uploader.swf", filetypes: "<%=siteConfig.fileextension %>" });

            $(".attach-btn").click(function () {
                showAttachDialog();
            });


        });
    </script>
</head>

<body class="mainbody">
    <form id="form1" runat="server">
        <!--导航栏-->
        <div class="location"> 
          <i class="iconfont icon-home"></i> <span>微信公众号基本信息</span>
        </div>
        <div class="line10"></div>
        <!--/导航栏-->

        <!--内容-->
<div id="floatHead" class="content-tab-wrap">
  <div class="content-tab">
    <div class="content-tab-ul-wrap">
                    <ul>
                        <li><a href="javascript:;" onclick="tabs(this);"  class="selected">微支付相关参数</a></li>
                        <li><a href="javascript:;" onclick="tabs(this);">其他</a></li>

                    </ul>
                </div>
            </div>
        </div>

        <div class="tab-content" >
            <dl>
                <dt>微信号</dt>
                <dd>
                    <asp:Label ID="lblWeixinName" runat="server" Text=""></asp:Label>
                </dd>
            </dl>
            <dl>
                <dt>appid</dt>
                <dd>
                    <asp:Label ID="lblAppid" runat="server" Text=""></asp:Label>
                </dd>
            </dl>

            <dl>
                <dt>商户号mch_id</dt>
                <dd>
                    <asp:HiddenField ID="hidId" runat="server" Value="0" />
                    <asp:TextBox ID="txtmch_id" runat="server" CssClass="input normal " datatype="*1-32" sucmsg="微信支付商户号（接口文档中的商户号MCHID）" nullmsg="请填写商户号mch_id"></asp:TextBox>
                    <span class="Validform_checktip">*微信支付商户号，审核通过后，在微信发送的邮件中查看。</span></dd>
            </dl>
            <dl>
                <dt>支付密钥Key</dt>
                <dd>
                    <asp:TextBox ID="txtpaykey" runat="server" CssClass="input normal " datatype="*1-100" sucmsg="登录微信商户后台，进入栏目【账户设置】【密码安全】【API 安全】【API 密钥】" nullmsg="请填写商户支付密钥Key"></asp:TextBox>
                    <span class="Validform_checktip">*登录微信商户后台，进入栏目【账户设置】【密码安全】【API 安全】【API 密钥】</span></dd>
            </dl>
            
            <dl>
                <dt>证书密码</dt>
                <dd>

                    <asp:TextBox ID="txtcerInfoPwd" runat="server" CssClass="input normal " datatype="*1-50" sucmsg="默认值为商户号" nullmsg="请填写证书密码"></asp:TextBox>
                    <span class="Validform_checktip">*默认值为商户号</span></dd>
            </dl>

            <dl id="div_attach_container" runat="server">
                <dt>上传证书</dt>
                <dd>
                    <asp:TextBox ID="txtcertInfoPath" runat="server" CssClass="input normal upload-path" datatype="*0-500" sucmsg="红包功能必须上传证书(apiclient_cert.p12)" nullmsg="证书apiclient_cert.p12" />
                    <div class="upload-box upload-attach"></div>
                    <span class="Validform_checktip">红包功能必须上传证书(apiclient_cert.p12)</span>
                </dd>
            </dl>
              <dl>
                
                <dd >
                  
                </dd>
            </dl>

             <dl>
                
                <dd style="color: #16a0d3; font-weight: bolder;">
                   -----=========== 公众号官方后台配置教程如下===========----- 
                </dd>
            </dl>
            <dl>
                <dt style="color:red;"></dt>
                <dd >
                    官方网站网址：https://mp.weixin.qq.com
                    登陆后，右侧点击“微信支付”-->开发配置--->支付配置--->修改 页面添加以下信息
                </dd>
            </dl>
            <dl>
                <dt>接口形式 </dt>
                <dd>
                    <asp:Label ID="lbljkxs" runat="server" Text="JS API支付" Style="color: #16a0d3; font-weight: bolder;"></asp:Label>
                </dd>
            </dl>
            <dl>
                <dt>支付授权目录 </dt>
                <dd>
                    <asp:Label ID="lblzfsqml" runat="server" Text="http://" Style="color: #16a0d3; font-weight: bolder;"></asp:Label>
                <span class="Validform_checktip">（也作为测试目录）</span>
                     </dd>
            </dl>
            <dl>
                <dt>支付请求实例 </dt>
                <dd>
                    <asp:Label ID="lblzfqqsl" runat="server" Text="http://" Style="color: #16a0d3; font-weight: bolder;"></asp:Label>
                </dd>
            </dl>
            <dl>
                <dt>维权通知URL </dt>
                <dd>
                    <asp:Label ID="lblwqtz" runat="server" Text="http://" Style="color: #16a0d3; font-weight: bolder;"></asp:Label>
                </dd>
            </dl>
            <dl>
                <dt>警通知URL </dt>
                <dd>
                    <asp:Label ID="lbljjtz" runat="server" Text="http://" Style="color: #16a0d3; font-weight: bolder;"></asp:Label>
                </dd>
            </dl>



        </div>


         <div class="tab-content" style="display: none;" >
                <dl>
                    <dt>快速关注引导页</dt>
                    <dd>
                        <asp:HiddenField ID="hidYinDaoPageId" runat="server" Value="0" />
                        <asp:TextBox ID="txtYinDao" runat="server" CssClass="input normal " datatype="*0-800" sucmsg=" " nullmsg=" "></asp:TextBox>
                        <span class="Validform_checktip">*引导用户关注的页面，在公众号里创建一个素材图文作为引导页。</span></dd>
                </dl>
        </div>

        

       
        <!--/内容-->

        <!--工具栏-->
        <div class="page-footer">
            <div class="btn-list">
                <asp:Button ID="btnSubmit" runat="server" Text="提交保存" CssClass="btn" OnClick="btnSubmit_Click" />
                <a href="myweixinlist.aspx"><span class="btn yellow">返回上一页</span></a>

            </div>
            <div class="clear"></div>
        </div>
        <!--/工具栏-->
    </form>
</body>
</html>
